import {Ajax} from "../utils/request"

const getOssToken = () => Ajax.get("/api/auth/oss/token")

const updateAvatar = (data) => Ajax.patch("/api/user/avatar",data)

export {
  getOssToken,
  updateAvatar
}